export default [
    {
        path: '/admin',
        component: () => import('@/views/admin/Layout/index.vue'),
        redirect: '/admin/dashboard',
        children: [
            {
                path: 'dashboard',
                name: 'AdminDashboard',
                component: () => import('@/views/admin/dashboard/index.vue'),
                meta: {title: '仪表盘', requiresAuth: true, role: 'ADMIN'}
            },
            {
                path: 'user',
                name: 'AdminUser',
                component: () => import('@/views/admin/user/index.vue'),
                meta: {title: '用户管理', requiresAuth: true, role: 'ADMIN'}
            },
            {
                path: 'collections',
                name: 'AdminCollection',
                component: () => import('@/views/admin/collections/index.vue'),
                meta: {title: '藏品管理', requiresAuth: true, role: 'ADMIN'}
            },
            {
                path: 'collections/category',
                name: 'AdminCollectionCategory',
                component: () => import('@/views/admin/collections/category/index.vue'),
                meta: {title: '藏品分类', requiresAuth: true, role: 'ADMIN'}
            },
            {
                path: 'appointment',
                name: 'AdminAppointment',
                component: () => import('@/views/admin/appointment/index.vue'),
                meta: {title: '预约管理', requiresAuth: true, role: 'ADMIN'}
            },
            {
                path: 'appointment/time-slot',
                name: 'AdminTimeSlot',
                component: () => import('@/views/admin/appointment/time-slot/index.vue'),
                meta: {title: '时间段设置', requiresAuth: true, role: 'ADMIN'}
            },
            {
                path: 'map',
                name: 'AdminMap',
                component: () => import('@/views/admin/map/index.vue'),
                meta: {title: '地图管理', requiresAuth: true, role: 'ADMIN'}
            },
            // {
            //   path: 'map/marker',
            //   name: 'AdminMapMarker',
            //   component: () => import('@/views/admin/map/marker/index.vue'),
            //   meta: { title: '标记点管理', requiresAuth: true, role: 'ADMIN' }
            // },
            {
                path: 'feedback',
                name: 'AdminFeedback',
                component: () => import('@/views/admin/feedback/index.vue'),
                meta: {title: '反馈管理', requiresAuth: true, role: 'ADMIN'}
            },
            {
                path: 'guide',
                name: 'AdminGuide',
                component: () => import('@/views/admin/guide/index.vue'),
                meta: {title: '讲解员管理', requiresAuth: true, role: 'ADMIN'}
            },
            {
                path: 'guide-appointment',
                name: 'AdminGuideAppointment',
                component: () => import('@/views/admin/guide-appointment/index.vue'),
                meta: {title: '讲解预约管理', requiresAuth: true, role: 'ADMIN'}
            },
            // {
            //   path: 'museum-info',
            //   name: 'AdminMuseumInfo',
            //   component: () => import('@/views/admin/museum-info/index.vue'),
            //   meta: { title: '博物馆介绍', requiresAuth: true, role: 'ADMIN' }
            // },
            // {
            //   path: 'profile',
            //   name: 'AdminProfile',
            //   component: () => import('@/views/admin/profile/index.vue'),
            //   meta: { title: '个人中心', requiresAuth: true, role: 'ADMIN' }
            // },
            // {
            //   path: 'setting',
            //   name: 'AdminSetting',
            //   component: () => import('@/views/admin/setting/index.vue'),
            //   meta: { title: '系统设置', requiresAuth: true, role: 'ADMIN' }
            // }
        ]
    }
] 